<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>图片缩放</title>
    <style type="text/css">
        .test1{
           width:80%;
           height:600px;
           }
    </style>
</head>
<body>
    <img src="./static/2.JPG" class="test1">
</body>
</html>